package decome06;

public class SonLikeDo implements DadLikeDo,MonLikeDo{

    @Override
    public String getRide() {
        return "爱好是骑车";
    }

    @Override
        public String getBasketball () {
            return "爱好是打篮球";
        }

        @Override
        public String getSing () {
            return "爱好是唱歌";
        }

        @Override
        public String getDance () {
            return "爱好是跳舞";
        }


    public static void main(String[] args) {
        DadLikeDo dadLikeDo = new DadLikeDo() {
            @Override
            public String getRide() {
                return "";
            }

            @Override
            public String getBasketball() {
                return "";
            }
        };
        System.out.println("儿子喜欢做的事是");



    }

}
